package mapper;

import org.apache.ibatis.annotations.Param;
import pojo.Blog;
import pojo.Notice;

import java.util.List;

public interface NoticeMapper {
    //发布公告
    int insert(@Param("author") String author,@Param("tittle")String tittle,@Param("time") String time,@Param("content") String content);
    //查看公告
    List<Notice> select();
}
